package com.example.usercenter.model.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.example.usercenter.model.domain.User;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 队伍表
 * @TableName team
 */
@TableName(value ="team")
@Data
public class TeamUserVo implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 队伍名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 队伍描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 最大人数
     */
    @TableField(value = "maxNum")
    private Integer maxNum;

    /**
     * 创建时间
     */
    @TableField(value = "expireTime")
    private Date expireTime;

    /**
     * 用户Id
     */
    @TableField(value = "userId")
    private Integer userId;

    /**
     * 队伍状态0-公开，1-私有，2-加密
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    private List<UserVo> userList;

}